

#ifndef _SHELL_REQALLOCATIONATT_MESSAGE_H_
#define _SHELL_REQALLOCATIONATT_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "PlayerAttbute.h"
//#include <vector>
using namespace std;

class ReqAllocationAttMessage : public Message
{
	public:
	ReqAllocationAttMessage();
	~ReqAllocationAttMessage();
	void reset();
	ReqAllocationAttMessage* clone();
	static const int _ID;
	//分配的属性结果（返回操作成功）
	vector<PlayerAttbute*> playerAttbute;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
